<template>
    <div>
        <el-table :data="customer" style="width: 100%">
            <el-table-column
                prop="name"
                label="姓名"
            ></el-table-column>
            <el-table-column prop="phone" label="电话号码">
            </el-table-column>
            <el-table-column prop="credits" label="信用值"></el-table-column>
        </el-table>
        <div id="back-button">
        <el-button type="success" >确认</el-button>
        </div>
    </div>
</template>

<script>
export default {
    data(){
        return{
            customer:[{
                name:"张三",
                phone:'12414532523',
                credits:100
            }]
        }
    }
};
</script>

<style>
#back-button{
    text-align: center;
    margin-top: 20px;
}
</style>